<div heading="添加字典">
          <div class="panel-body">
            <form name="form1" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
              <div class="form-group">
                <label class="col-lg-2 control-label">字典标题:</label>
                <div class="col-lg-4">
                  <input type="text" class="form-control" placeholder="必填" ng-model="obj.title">
                </div>
              </div>
              
              <div class="form-group">
                <label class="col-lg-2 control-label">key值:</label>
                <div class="col-lg-4">
                  <input type="text" class="form-control" placeholder="必填" ng-model="obj.key">
                </div>
              </div>
              <div class="form-group">
                <label class="col-lg-2 control-label">type:</label>
                <div class="col-lg-4">
                  <input type="text" class="form-control" placeholder="必填" ng-model="obj.type">
                </div>
              </div>
             <div class="col-lg-offset-6 form-group">
              <button class="btn m-b-xs w-sm btn-success" ng-click="image()">
                <i class="fa fa-file-image-o"></i> 添加图片
              </button>

              <br>

              {{imagearr | json}}

              </div>

            </form>

            <div class="col-lg-2"></div>
            <div class="col-lg-3">
              <button class="btn btn-primary btn-rounded" ng-click="save()">添加</button>
              <button class="btn btn-default btn-rounded" ng-click="cancel()">取消</button>
            </div>
          </div>
</div>